﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZXIMEW.DAL;
using ZXIMEW.Models.DModels;

namespace ZXIMEW.BLL
{
    public class RoleBLL
    {
        RoleDAL roleDAL = new RoleDAL();
        /// <summary>
        /// 获取指定用户的角色列表
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        public List<RoleInfo> GetUserRoleList(int userId)
        {
            return roleDAL.GetUserRoleList(userId);
        }

    }
}
